const { emailOk, emailError, emailInfo } = {
  emailOk: "邮箱格式正确！",
  emailError: "邮箱格式错误",
  emailInfo: "请输入正确的邮箱",
};

const { loginOk, loginError } = {
  loginOk: "登录成功",
  loginError: "登录失败",
};

const { registerOk, registerError } = {
  registerOk: "注册成功",
  registerError: "注册失败",
};

const [reg] = [/^\w+@[a-zA-Z0-9]{2,10}(?:\.[a-z]{2,4}){1,3}$/];
